package com.lmk.org.service;

import com.lmk.basic.service.BaseService;
import com.lmk.org.domain.Department;

import java.util.List;

public interface DepartmentService extends BaseService<Department> {
   /* // 添加
    void add(Department department);

    // 删除
    void del(Long id);

    // 修改
    void update(Department department);

    // 查询一个
    Department findById(Long id);

    // 查询所有
    List<Department> findAll();

    // 分页查询,展示数据
    PageList<Department> queryPage(DepartmentQuery query);

    // 批量删除
    void batchdel(List<Long> ids);*/

    // 寻找无限极树
    List<Department> findDeptTree();
}
